package view.event
{
	import flash.events.Event;
	
	
	/**
	 * 道具Event
	 * @author £iang
	 * 
	 */	
	public class ItemEvent extends Event
	{
		//-----------------------------
		// variables
		//-----------------------------
		
		/** 搜索道具事件 */
		public static const SEARCH_ITEM:String = "ItemEvent.searchItem";
		
		//-----------------------------
		// properties
		//-----------------------------
		
		/** 当前搜索的道具id */
		private var _curSearchItemId:int;

		//-----------------------------
		// setter&getter
		//-----------------------------
		
		/** 当前搜索的道具id */
		public function get curSearchItemId():int
		{
			return _curSearchItemId;
		}
		
		/**
		 * @private
		 */
		public function set curSearchItemId(value:int):void
		{
			_curSearchItemId = value;
		}
		
		//-----------------------------
		// methods
		//-----------------------------
		
		//-----------------------------
		// events
		//-----------------------------
		
		//-----------------------------
		// dispose
		//-----------------------------
		
		//-----------------------------
		// construction
		//-----------------------------
		
		/**
		 * 构造函数
		 *
		 */
		public function ItemEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
		}
	}
}